package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmProduceConsumingDTO;
import com.xinsoft.entity.dto.ScmProduceConsumingParam;
import com.xinsoft.entity.dto.ScmProduceInstockDTO;
import com.xinsoft.entity.po.ScmProduceConsuming;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmProduceConsumingPageVo;
import com.xinsoft.entity.vo.ScmProduceConsumingVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_produce_consuming(生产领用)】的数据库操作Service
* @createDate 2023-08-14 11:30:37
*/
public interface ScmProduceConsumingService extends IService<ScmProduceConsuming> {

    IPage<ScmProduceConsumingPageVo> findPageListByParam(ScmProduceConsumingParam param);

    List<ScmProduceConsumingPageVo> findListByParam(ScmProduceConsumingParam param);

    Integer tempSave(ScmProduceConsumingDTO dto);

    ScmProduceConsumingVo detail(Integer id);

    void del(List<Integer> ids);

    void audit(Integer id);

    void reverseAudit(Integer id);

    void saveAudit(ScmProduceConsumingDTO dto);
}
